<!DOCTYPE html>
<html>

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>盛世机电</title>
  <link href="/common/css/common-ui.min.css" rel="stylesheet" />
  <link rel="stylesheet" href="/css/backstageManage/globalConfig.css" />
  <script>
    if(localStorage.getItem("token")==null){
        window.history.replaceState(null, "", '/login.html');
        location.reload()
    }
</script>
</head>

<body>
  <div class="page-container">
    <div class="side-menu"></div>
    <div class="main-container">
      <div class="header-content">
        <i class="aidicon aidicon-backburger"></i>
        <span class="title-text"></span>
        <div class="user-info pull-right">
          <img src="/images/backstageManage/img_01.png">
          <span class="username"></span>
        </div>
      </div>
      <div class="main-content">
        <div class="main-wrapper">
          <div class="header-con">
            <div><i class="aidicon aidicon-file-document"></i>通用数据项配置</div>
            <button type="button" class="btn btn-primary" id="add1">新增</button>
          </div>
          <div id="div1">
          </div>
        </div>
        <div class="main-wrapper">
          <div class="header-con">
            <div><i class="aidicon aidicon-file-document"></i>大屏数据配置</div>
          </div>
          <div id="div2">
          </div>
          <div class="info-con">
            <div class="info-header"><span class="info-header-text">节约标煤量（kgce）</span>
            </div>
            <div class="info-wrap text-overflow" title="">
              节约标煤量（kgce）=0.326(kgce/kWh)*可再生能源利用量（kWh）
            </div>
          </div>
          <div class="info-con">
            <div class="info-header"><span class="info-header-text">碳排放减量（kg）</span>
            </div>
            <div class="info-wrap text-overflow" title="">
              碳排放减量（kg）=0.795(kg/kWh)*可再生能源利用量（kWh）
            </div>
          </div>
        </div>
        <div class="main-wrapper">
          <div class="header-con">
            <div><i class="aidicon aidicon-file-document"></i>能耗占比配置</div>
            <button type="button" class="btn btn-primary" id="add3">新增</button>
          </div>
          <div id="div3">
          </div>
        </div>
        <div class="main-wrapper">
          <div class="header-con">
            <div><i class="aidicon aidicon-file-document"></i>制冷/供暖能耗统计配置</div>
          </div>
          <div id="div4">
          </div>
        </div>
        <div class="main-wrapper">
          <div class="header-con">
            <div><i class="aidicon aidicon-file-document"></i>制冷/供暖SCOP变化统计配置</div>
          </div>
          <div id="div5">
        </div>
      </div>
    </div>
  </div>

  <script id="addFormTpl" type="text/html">
      <div class="form-default">
          <form class="form-validate-dom addForm">
            {{if type==1}}
              <label for="prjId"><i>*</i>通用项标题</label>
              <div class="form-group">
                  <input type="text" class="form-control" id="prjId" name="prjId" placeholder="请输入至少3个字符" required minlength="3" autocomplete="off" value="{{name}}"  {{if name}}readonly disabled="disabled"{{/if}}>
              </div>
              <label for="prjName"><i>*</i>选择采集点</label>
              <div class="dropdownSelect">
                  <div id="dropdownSelect-treeSelect-multi29" data-target="#" ></div>
                  <ul class="dropdownSelect-menu dropdownSelect-menu-demo2" role="menu" aria-labelledby="dLabel">
                      <div id="treeDemo-29" class="ztree" style="overflow: auto;height: 300px;"></div>
                  </ul>
              </div> 
              {{else if type==2}}
              <label for="prjName"><i>*</i>选择采集点</label>
              <div class="dropdownSelect">
                  <div id="dropdownSelect-treeSelect-multi29" data-target="#" ></div>
                  <ul class="dropdownSelect-menu dropdownSelect-menu-demo2" role="menu" aria-labelledby="dLabel">
                      <div id="treeDemo-29" class="ztree" style="overflow: auto;height: 300px;"></div>
                  </ul>
              </div> 
              {{else if type==3}}
              <label for="prjId"><i>*</i>设备耗电量占比类别</label>
              <div class="form-group">
                  <input type="text" class="form-control" id="prjId" name="prjId" placeholder="请输入(至少输入3个字符)" required minlength="3" autocomplete="off" value="{{name}}" {{if name}}readonly disabled="disabled"{{/if}}>
              </div>
              <label for="prjName"><i>*</i>所统计采集点</label>
              <div class="dropdownSelect">
                  <div id="dropdownSelect-treeSelect-multi29" data-target="#" ></div>
                  <ul class="dropdownSelect-menu dropdownSelect-menu-demo2" role="menu" aria-labelledby="dLabel">
                      <div id="treeDemo-29" class="ztree" style="overflow: auto;height: 300px;"></div>
                  </ul>
              </div> 
              {{else if type==4}}
                <label for="prjName"><i>*</i>制冷量或者供暖量采集点</label>
                <div class="dropdownSelect">
                    <div id="dropdownSelect-treeSelect-multi30" data-target="#" ></div>
                    <ul class="dropdownSelect-menu dropdownSelect-menu-demo2" role="menu" aria-labelledby="dLabel">
                        <div id="treeDemo-30" class="ztree" style="overflow: auto;height: 300px;"></div>
                    </ul>
                </div> 
                {{else}}
              {{/if}}
          </form> 
      </div>
  </script>
  <script src="/common/js/lib/require/require.min.js"></script>
  <script>
    require(["/js/require.config.js"], function () {
      require(["/js/backstageManage/menu.js"], function () {
        require(["/js/backstageManage/globalConfig.js"], function (app) {
          app.init();
        });
      });
    });
  </script>
</body>

</html>